package com.newtouch.bxzs.common.base.em;

/**
 * bussiness常用枚举类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021年3月15日</td>
 * <td>dongjinlin</td>
 * <td>Create</td>
 * </tr>
 * </table>
 * 
 * @author dongjinlin
 * 
 * @version 1.0.0
 * @since 1.0.0
 */
public enum BusinessEnum {
    // 当前时间大于考试结束时间为已考
    EXAMINATIONED(1, "已考"), 
	// 当前时间小于考试开始时间为未考
	NOEXAMINATIONED(0, "未考"),
	SIMULATE(0,"模拟考试"),
    OFFICIAL(1,"正式考试");
    
    
	
    private Integer code;

	private String name;

	/**
	 * 
	 * 默认构造方法
	 * 
	 * @param code
	 * @param name
	 */
	private BusinessEnum(Integer code, String name) {
		this.code = code;
		this.name = name;
	}

	
	/**
	 * @return code
	 */
	public Integer getCode() {
		return this.code;
	}


	/**
	 * @return name
	 */
	public String getName() {
		return this.name;
	}

}
